<#import "spring.ftl" as spring />
<#import "inspector-time-macros.ftl" as imacro />
<html>
<head>
	<link rel="stylesheet" type="text/css" href="<@spring.url "/content_pane.css" />" />
	<title>my.edificetraining.com: Schedule your inspection</title>
</head>
<body>

<@spring.bind path="command" />
<#if (spring.status.errorMessages?size > 0) >
    <div class="error">
        <#list spring.status.errorMessages as error>
            ${error}<br>
        </#list>
    </div>
    <br />
</#if>

<form name="scheduleForm"  method="POST">
<input type="hidden" name="command.inspectionCode" value="${RequestParameters.inspectionCode!}" />

<table class="editSection" width='90%'>
<tr>
    <td colspan="3" class="sectionHeading">Please confirm the following information<br /> (* marks required fields)</td>
</tr>
<tr>
	<td class="editLabel">First Name *</td>
	<td class="editValue"><@spring.formInput "command.homeBuyer.name.first", 'size="30"'/></td>
    <td><@spring.showErrors "<br>", "error"/></td>
</tr>
<tr>
	<td class="editLabel">Last Name *</td>
	<td class="editValue"><@spring.formInput "command.homeBuyer.name.last", 'size="30"'/></td>
    <td><@spring.showErrors "<br>", "error"/></td>
</tr>
<tr>
	<td class="editLabel">Contact Phone *</td>
	<td class="editValue"><@spring.formInput "command.homeBuyer.otherPhone", 'size="30"'/></td>
    <td><@spring.showErrors "<br>", "error"/></td>
</tr>
<tr>
    <td colspan="3" class="sectionHeading">&nbsp;</td>
</tr>
<tr>
    <td colspan="3" align="right"><input type="submit" value="Submit" name="SUBMIT" class="formButton"/></td>
</tr>
</table>
</form>

</body>
</html>